<html>
<head><meta charset="utf-8"><title>derive macros · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/derive.20macros.html">derive macros</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="220816002"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/derive%20macros/near/220816002" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Riccardo D&#x27;Ambrosio <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/derive.20macros.html#220816002">(Dec 23 2020 at 18:44)</a>:</h4>
<p>Hello!</p>
<p>I was talking with <span class="user-mention" data-user-id="232545">@Joshua Nelson</span> and other folks on the rustdoc team about separating sections for derived traits and manually implemented traits. Is it possible to know if a trait implementation came from a derive macro or not after typeck? If not, could this be achieved relatively easily?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>